from pyeasyaccept.PythonEasyAcceptFacade import PythonEasyAcceptFacade
from pyeasyaccept.commom.Configuration import Configuration
from pythoneasyaccept_test.TestFacade import TestFacade

testFacade = TestFacade()

configuration = Configuration.getInstance()
FILE_SEPARATOR = Configuration.FILE_SEPARATOR          
root = configuration.getProjectRoot()

test1 = root + configuration.ACCEPTANCE_TEST_SCRIPTS_LOCATION + FILE_SEPARATOR+"test1.txt"    
test2 = root + configuration.ACCEPTANCE_TEST_SCRIPTS_LOCATION + FILE_SEPARATOR+"test2.txt"

scripts = [test1,test2]

peaFacade = PythonEasyAcceptFacade(testFacade,scripts)

peaFacade.executeTests()

print peaFacade.getCompleteResults()
